﻿<!-- sidebar START -->
<div id="sidebar">

<!-- sidebar north START -->
<div id="northsidebar" class="sidebar">
	<!-- feeds -->
	<div class="widget widget_feeds">
		<div class="content">
			<div id="subscribe">
				<!-- Feedsky FEED发布代码开始 -->
				<!-- FEED自动发现标记开始 -->
				<link title="RSS 2.0" type="application/rss+xml" href="http://feed.feedsky.com/yfd1983" rel="alternate" />
				<!-- FEED自动发现标记结束 -->
				<a href="http://feed.feedsky.com/yfd1983" target="_blank"><img border="0" src="http://img.feedsky.com/images/icon_sub_c1s67.gif" alt="feedsky" vspace="2"  style="margin-bottom:3px" ></a><a href="http://feed.feedsky.com/yfd1983" target="_blank" ></a><br />
				<a href="http://www.zhuaxia.com/add_channel.php?url=http://feed.feedsky.com/yfd1983" target="_blank"><img border="0" src="http://img.feedsky.com/images/icon_subshot01_zhuaxia.gif" alt="&#25235;&#34430;" vspace="2" style="margin-bottom:3px" ></a>
				<a href="http://fusion.google.com/add?feedurl=http://feed.feedsky.com/yfd1983" target="_blank"><img border="0" src="http://img.feedsky.com/images/icon_subshot01_google.gif" alt="google reader" vspace="2" style="margin-bottom:3px" ></a><br />
				<a href="http://www.bloglines.com/sub/http://feed.feedsky.com/yfd1983" target="_blank"><img border="0" src="http://img.feedsky.com/images/icon_subshot01_bloglines.gif" alt="bloglines" vspace="2" style="margin-bottom:3px" ></a>
				<a href="http://www.xianguo.com/subscribe.php?url=http://feed.feedsky.com/yfd1983" target="_blank"><img border="0" src="http://img.feedsky.com/images/icon_subshot01_xianguo.gif" alt="&#40092;&#26524;" vspace="2" style="margin-bottom:3px" ></a><br />
				<a href="http://inezha.com/add?url=http://feed.feedsky.com/yfd1983" target="_blank"><img border="0" src="http://img.feedsky.com/images/icon_subshot01_nazha.gif" alt="&#21738;&#21522;" vspace="2" style="margin-bottom:3px" ></a>
				<a href="http://reader.youdao.com/b.do?keyfrom=feedsky&url=http://feed.feedsky.com/yfd1983" target="_blank"><img border="0" src="http://img.feedsky.com/images/icon_subshot01_youdao.gif" alt="&#26377;&#36947;" vspace="2" style="margin-bottom:3px" ></a><br />
				<a href="http://mail.qq.com/cgi-bin/feed?u=http://feed.feedsky.com/yfd1983" target="_blank"><img border="0" src="http://img.feedsky.com/images/icon_subshot01_qq.gif" alt="QQ&#37038;&#31665;" vspace="2" style="margin-bottom:3px" ></a>
				<!-- Feedsky FEED发布代码结束 -->
			</div>
			<div class="fixed"></div>
		</div>
	</div>

	<!-- showcase -->
	
	<div id="recent-posts-2" class="widget widget_recent_entries">		
    <h3>最近文章</h3>
    <ul>
        {% for entry in blog.recentposts %}
		<li><a href="/{{entry.link}}" title="{{entry.title}}">{{entry.title}}</a></li>
        {%endfor%}
	</ul>
	</div>
</div>
<!-- sidebar north END -->

<div id="centersidebar">

	<!-- sidebar east START -->
	<div id="eastsidebar" class="sidebar">
    	<div id="categories-368151121" class="widget widget_categories">
        <h3>分类目录</h3>
        <ul>
         	{%for cate in categories%}
            <li class="cat-item cat-item-846"><a href="/category/{{cate.slug}}">{{cate.name}}</a>({{cate.count}})</li>
            {%endfor%}
    	</ul>
        </div>	
    </div>

	<!-- sidebar east END -->

	<!-- sidebar west START -->
	<div id="westsidebar" class="sidebar">
    	<div id="meta-2" class="widget widget_meta">
        <h3>快速链接</h3>
        <ul>
    		<li><a rel="nofollow" href="/admin">登录</a></li>
    		<li><a href="{{ blog.feedurl }}" title="使用 RSS 2.0 同步此内容">文章 <abbr title="Really Simple Syndication">RSS</abbr></a></li>
            <li><a rel="nofollow" href="/sitemap">sitemap</a></li>
    	</ul>
        </div>	
    </div>
	<!-- sidebar west END -->
	<div class="fixed"></div>
</div>

<!-- sidebar south START -->
<div id="southsidebar" class="sidebar">
    <div id="recentcomments" class="widget widget_recentcomments">
    <h3>最新评论</h3>
    <ul>
    {% for comment in recent_comments %}
        <li class="rc_item"><div class="rc_info"><span class="author_name">
        {%if comment.weburl %}<a target="_blank" href='{{comment.weburl}}' class='url'  rel='external nofollow'>{{comment.author}}</a>{% else %}{{comment.author}}{%endif%}</span> 发表于 <span class="post_title"><a href="/{{comment.entry.link}}#comment-{{comment.key.id}}">{{comment.entry.title}}</a></span></div><div class="rc_excerpt">{{comment.shortcontent}}...</div></li>
    {%endfor%}
    </ul>
    </div>
	
	<div id="tag" class="widget widget_recentcomments">
	<h3>标签</h3>
	<ul>
	{% for t in alltags %}
		<a title="{{ t.tagcount }} pages" href="/tag/{{t.tag|urlencode}}"><span style='font-size:{{ t.tagcount|add:9 }}px;'>{{t.tag}}</span></a>
	{%endfor%}
	</ul>
	</div>
	
	<div id="google friend connect" class="widget widget_recentcomments">
	<h3>My Friend</h3>
	
	<!-- Include the Google Friend Connect javascript library. -->
		<script type="text/javascript" src="http://www.google.com/friendconnect/script/friendconnect.js"></script>
		<!-- Define the div tag where the gadget will be inserted. -->
		<br/>
		<div id="div-1453569217695705009" style="width:276px;border:1px solid #cccccc;"></div>
		<!-- Render the gadget into a div. -->
		<script type="text/javascript">
		var skin = {};
		skin['FONT_FAMILY'] = 'sans-serif';
		skin['BORDER_COLOR'] = '#cccccc';
		skin['ENDCAP_BG_COLOR'] = '#ffff99';
		skin['ENDCAP_TEXT_COLOR'] = '#333333';
		skin['ENDCAP_LINK_COLOR'] = '#0000cc';
		skin['ALTERNATE_BG_COLOR'] = '#ffffff';
		skin['CONTENT_BG_COLOR'] = '#ffffff';
		skin['CONTENT_LINK_COLOR'] = '#0000cc';
		skin['CONTENT_TEXT_COLOR'] = '#333333';
		skin['CONTENT_SECONDARY_LINK_COLOR'] = '#7777cc';
		skin['CONTENT_SECONDARY_TEXT_COLOR'] = '#666666';
		skin['CONTENT_HEADLINE_COLOR'] = '#333333';
		skin['NUMBER_ROWS'] = '4';
		google.friendconnect.container.setParentUrl('/' /* location of rpc_relay.html and canvas.html */);
		google.friendconnect.container.renderMembersGadget(
		 { id: 'div-1453569217695705009',
		   site: '01420241657239747773' },
		  skin);
		</script>

	
	</div>
	<!--
	<div id="archive" class="widget widget_recentcomments">
	<h2>归档</h2>
		<ul>
		{%for archive in archives%}
		<li><a href="/{{archive.year}}/{{archive.month}}">{{archive.monthyear}}({{archive.entrycount}})</a></li>
		{%endfor%}
		</ul>
	</div>
	-->
	<div id="douban" class="widget widget_links">
    <h3>我感兴趣的</h3>
    	<ul>
           
		   <script type="text/javascript" src="http://www.douban.com/service/badge/3294770/?show=wishlist&amp;n=16&amp;columns=4&amp;hidelogo=yes&amp;hideself=yes;cat=book" ></script> 

    	</ul>
    </div>
	<div id="delicious" class="widget widget_links">
		<script type="text/javascript" src="http://feeds.delicious.com/v2/js/yfd1983?title=My%20Bookmarks&icon=s&count=5&bullet=%E2%80%A2&sort=date&name&showadd"></script>
	</div>
    <div id="linkcat-2" class="widget widget_links">
    <h3>友情链接</h3>
    	<ul class='xoxo blogroll'>
            {%for link in blogroll%}
            <li><a href="{{link.href}}" target="_blank">{{link.linktext}}</a></li>
            {%endfor%}
    	</ul>
    </div>
</div>

<!-- sidebar south END -->

</div>
<!-- sidebar END -->